package grape.workflow.rest.task.vo;

import org.flowable.task.api.DelegationState;

import java.util.HashMap;
import java.util.Map;

public class TaskTool {

    private static Map<String, String> delegateStateNameMap = new HashMap<>();


    static {
        delegateStateNameMap.put(DelegationState.PENDING.name(),"处理中");
        delegateStateNameMap.put(DelegationState.RESOLVED.name(),"已处理");
    }


    public static Map<String, String> getDelegateStateNameMap() {
        return delegateStateNameMap;
    }
}
